package com.wanmait.meteor.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.catalina.User;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

public class Meetinfo implements Serializable {
    private Integer id;

    /**
	* 申请人姓名
	*/
    private String applyName;

    /**
	* 电话
	*/
    private String applyPhone;

    /**
	* 会议类型
	*/
    private MeetType meetType;

    /**
	* 会议开始时间
	*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date beginTime;

    /**
	* 会议结束时间
	*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date endTime;

    /**
	* 会议图片
	*/
    private String meetPicture;

    public MeetType getMeetType() {
        return meetType;
    }

    public void setMeetType(MeetType meetType) {
        this.meetType = meetType;
    }

    /**
	* 是否公开
	*/
    private Boolean open;

    /**
	* 最大报名人数
	*/
    private Integer maxPeople;

    /**
	* 会议密码
	*/
    private String meetPass;

    /**
	* 用户id
	*/
    private Userinfo userinfo;

    private Province province;

    private City city;

    private Reginon reginon;

    private String detailsAddress;

    private String meetProcess;

    private Hotel hotel;

    /**
	* 会议创建时间
	*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date createTime;

    private Boolean enable;

    /**
	* 参会人数量
	*/
    private Integer memberCount;

    /**
	* 会议标题
	*/
    private String meetTitle;

    /**
	* 会议详细信息
	*/
    private String meetDetails;

    /**
	* 会议等级id
	*/
    private MeetLevel meetLevel;

    /**
	* 浏览量
	*/
    private Integer viewCount;

    /**
	* 审核状态
	*/
    private Boolean aduditState;

    /**
	* 进程状态0报名中 1进行中 2已结束 
	*/
    private Integer processState;

    /**
	* 是否轮播
	*/
    private Boolean shuffingEnable;

    /**
	* 报名开始时间
	*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date signBeginTime;

    /**
	* 结束报名时间
	*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date signEndTime;

    /**
	* 主办方id
	*/
    private Organizers organizers;

    /**
	* 会馆id
	*/
    private Hall hall;

    private static final long serialVersionUID = 1L;



    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getApplyName() {
        return applyName;
    }

    public void setApplyName(String applyName) {
        this.applyName = applyName;
    }

    public String getApplyPhone() {
        return applyPhone;
    }

    public void setApplyPhone(String applyPhone) {
        this.applyPhone = applyPhone;
    }


    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getMeetPicture() {
        return meetPicture;
    }

    public void setMeetPicture(String meetPicture) {
        this.meetPicture = meetPicture;
    }

    public Boolean getOpen() {
        return open;
    }

    public void setOpen(Boolean open) {
        this.open = open;
    }

    public Integer getMaxPeople() {
        return maxPeople;
    }

    public void setMaxPeople(Integer maxPeople) {
        this.maxPeople = maxPeople;
    }

    public String getMeetPass() {
        return meetPass;
    }

    public void setMeetPass(String meetPass) {
        this.meetPass = meetPass;
    }


    public String getDetailsAddress() {
        return detailsAddress;
    }

    public void setDetailsAddress(String detailsAddress) {
        this.detailsAddress = detailsAddress;
    }

    public String getMeetProcess() {
        return meetProcess;
    }

    public void setMeetProcess(String meetProcess) {
        this.meetProcess = meetProcess;
    }


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public Integer getMemberCount() {
        return memberCount;
    }

    public void setMemberCount(Integer memberCount) {
        this.memberCount = memberCount;
    }

    public String getMeetTitle() {
        return meetTitle;
    }

    public void setMeetTitle(String meetTitle) {
        this.meetTitle = meetTitle;
    }

    public String getMeetDetails() {
        return meetDetails;
    }

    public void setMeetDetails(String meetDetails) {
        this.meetDetails = meetDetails;
    }


    public Integer getViewCount() {
        return viewCount;
    }

    public void setViewCount(Integer viewCount) {
        this.viewCount = viewCount;
    }

    public Boolean getAduditState() {
        return aduditState;
    }

    public void setAduditState(Boolean aduditState) {
        this.aduditState = aduditState;
    }

    public Integer getProcessState() {
        return processState;
    }

    public void setProcessState(Integer processState) {
        this.processState = processState;
    }

    public Boolean getShuffingEnable() {
        return shuffingEnable;
    }

    public void setShuffingEnable(Boolean shuffingEnable) {
        this.shuffingEnable = shuffingEnable;
    }

    public Date getSignBeginTime() {
        return signBeginTime;
    }

    public void setSignBeginTime(Date signBeginTime) {
        this.signBeginTime = signBeginTime;
    }

    public Date getSignEndTime() {
        return signEndTime;
    }

    public void setSignEndTime(Date signEndTime) {
        this.signEndTime = signEndTime;
    }

    public Userinfo getUserinfo() {
        return userinfo;
    }

    public void setUserinfo(Userinfo userinfo) {
        this.userinfo = userinfo;
    }

    public Province getProvince() {
        return province;
    }

    public void setProvince(Province province) {
        this.province = province;
    }

    public City getCity() {
        return city;
    }

    public void setCity(City city) {
        this.city = city;
    }

    public Reginon getReginon() {
        return reginon;
    }

    public void setReginon(Reginon reginon) {
        this.reginon = reginon;
    }

    public Hotel getHotel() {
        return hotel;
    }

    public void setHotel(Hotel hotel) {
        this.hotel = hotel;
    }

    public MeetLevel getMeetLevel() {
        return meetLevel;
    }

    public void setMeetLevel(MeetLevel meetLevel) {
        this.meetLevel = meetLevel;
    }

    public Organizers getOrganizers() {
        return organizers;
    }

    public void setOrganizers(Organizers organizers) {
        this.organizers = organizers;
    }

    public Hall getHall() {
        return hall;
    }

    public void setHall(Hall hall) {
        this.hall = hall;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", applyName=").append(applyName);
        sb.append(", applyPhone=").append(applyPhone);
        sb.append(", meetTypeId=").append(meetType);
        sb.append(", beginTime=").append(beginTime);
        sb.append(", endTime=").append(endTime);
        sb.append(", meetPicture=").append(meetPicture);
        sb.append(", open=").append(open);
        sb.append(", maxPeople=").append(maxPeople);
        sb.append(", meetPass=").append(meetPass);
        sb.append(", userinfoId=").append(userinfo);
        sb.append(", provinceId=").append(province);
        sb.append(", cityId=").append(city);
        sb.append(", reginonId=").append(reginon);
        sb.append(", detailsAddress=").append(detailsAddress);
        sb.append(", meetProcess=").append(meetProcess);
        sb.append(", hotelId=").append(hotel);
        sb.append(", createTime=").append(createTime);
        sb.append(", enable=").append(enable);
        sb.append(", memberCount=").append(memberCount);
        sb.append(", meetTitle=").append(meetTitle);
        sb.append(", meetDetails=").append(meetDetails);
        sb.append(", meetLevelId=").append(meetLevel);
        sb.append(", viewCount=").append(viewCount);
        sb.append(", aduditState=").append(aduditState);
        sb.append(", processState=").append(processState);
        sb.append(", shuffingEnable=").append(shuffingEnable);
        sb.append(", signBeginTime=").append(signBeginTime);
        sb.append(", signEndTime=").append(signEndTime);
        sb.append(", organizersId=").append(organizers);
        sb.append(", hallId=").append(hall);
        sb.append("]");
        return sb.toString();
    }
}